package com.sjd.farm.domain;

import com.sjd.common.annotation.Excel;
import com.sjd.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 农场土地信息变更对象 sjd_farm_land_change
 *
 * @author joker
 * @date 2022-01-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SjdFarmLandChange extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @Excel(name = "变更主键")
    private Long id;
    /**
     * 土地主键
     */
    @Excel(name = "土地主键")
    private Long landId;
    /**
     * 变更时间
     */
    @Excel(name = "变更时间")
    private String changeTime;
    /**
     * 变更类型：INIT-初始化 CHANGE-信息变更 SALE-出售 RECOVERY-回收
     */
    @Excel(name = "变更类型", dictType = "farm_land_change_type")
    private String changeType;
    /**
     * 变更记录
     */
    @Excel(name = "变更记录")
    private String changeContent;
    public interface Param{
        String CHANGE_TYPE_INIT = "INIT";
        String CHANGE_TYPE_CHANGE = "CHANGE";
        String CHANGE_TYPE_SALE = "SALE";
        String CHANGE_TYPE_RECOVERY = "RECOVERY";
    }
}
